package com.kgc.skProvider.dao;

import com.kgc.collection.pojo.SalesAdvance;
import com.kgc.collection.pojo.SalesAdvanceDetail;

import java.util.List;
import java.util.Map;

public interface SalesAdvanceMapper {

    List<SalesAdvance> selectSalesAdvanceByPage(Map<String, Object> map);

    int insertSalesAdvance(SalesAdvance salesAdvance);

    int updateSalesAdvance(SalesAdvance salesAdvance);

    int deleteSalesAdvance(String docCode);

    int checkSalesAdvance(Map<String, Object> map);

    List<SalesAdvanceDetail> selectSalesAdvanceDetail(Map<String, Object> map);

    int insertSalesAdvanceDetail(SalesAdvanceDetail salesAdvanceDetail);

    int updateSalesAdvanceDetail(SalesAdvanceDetail salesAdvanceDetail);

    int deleteSalesAdvanceDetail(String docCode);

    SalesAdvance selectSalesAdvanceByCode(Map<String, Object> map);




}
